package com.lakeworks.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class TicketUpdateStatusEvent extends ApplicationEvent {

    private String barcode;

    private String eventType;

    public TicketUpdateStatusEvent(Object source,String barcode,String eventType) {
        super(source);
        this.barcode = barcode;
        this.eventType = eventType;
    }
}
